package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.bizimpl.upmp.domain.TradeAreaInfo;
import cc.rengu.redp.bizimpl.upmp.vo.OperationResult;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author 刘玉亮.LL
*/
    public interface ITradeAreaInfoService extends IService<TradeAreaInfo> {

    IPage<TradeAreaInfo> findByPage(QueryRequest request, TradeAreaInfo info);

    OperationResult saveData(String menuId, String oprMenuName, TradeAreaInfo entity, HttpServletRequest request, String webNextUrl) throws RedpException;

    OperationResult chkData(String menuId, String oprMenuName, TradeAreaInfo entity, HttpServletRequest request, String webNextUrl) throws RedpException;

    TradeAreaInfo findOneByCode(String mchntarea, String status, String instId);
}
